package com.shanxi.cz.module.biz.controller.admin.ammeterrecord.vo;

import cn.idev.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.shanxi.cz.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.shanxi.cz.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 电表数据记录分页 Request VO")
@Data
public class AmmeterRecordPageReqVO extends PageParam {

    @Schema(description = "电表id", example = "21365")
    private Integer ammeterId;

    @Schema(description = "记录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] recordTime;

    @Schema(description = "记录日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String recordDate;

    @Schema(description = "频率")
    private Double hz;

    @Schema(description = "A相电压(V)")
    private Double voltageA;

    @Schema(description = "B相电压(V)")
    private Double voltageB;

    @Schema(description = "C相电压(V)")
    private Double voltageC;

    @Schema(description = "A相电流(A)")
    private Double electricityA;

    @Schema(description = "B相电流(A)")
    private Double electricityB;

    @Schema(description = "C相电流(A)")
    private Double electricityC;

    @Schema(description = "功率(kW)")
    private Double power;

    @Schema(description = "耗电量（KWh）")
    private Double eng;

    @Schema(description = "数据类型(1.设备上报,2.手动更新)", example = "2")
    private Integer operateType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "三相总功率因数")
    private Double pfs;

}